import axios from '../utils/http'


// 举报原因 列表
export const restFeedbackClassifyList = (params) =>
    axios({
        url: '/v1/manager/classify/feedback',
        method: 'get',
        params
    })

// 举报原因 添加
export const restFeedbackClassifyListAdd = (data) =>
    axios({
        url: '/v1/manager/classify/feedback',
        method: 'post',
        data
    })

// 举报原因 删除
export const restFeedbackClassifyListDelete = (params) =>
    axios({
        url: `/v1/manager/classify/feedback/${params}`,
        method: 'delete',
    })

//-----------------------------------------------------
// 举报/反馈列表 
export const restFeedbackList = (params) =>
    axios({
        url: '/v1/manager/feedback',
        method: 'get',
        params
    })

// 举报/反馈列表  详情
export const restFeedbackListId = (params) =>
    axios({
        url: `/v1/manager/feedback/${params}`,
        method: 'get',
    })

// 举报/反馈列表 反馈
export const restFeedbackListIdPut = (params) =>
    axios({
        url: `/v1/manager/feedback/${params}`,
        method: 'put',
    })

    // 提现列表
export const restWithdrawList  = (params) =>
    axios({
        url: '/v1/manager/withdraw',
        method: 'get',
        params
    })

    // 提现列表 审核
export const restWithdrawListPost = (data) =>
    axios({
        url: '/v1/manager/withdraw',
        method: 'post',
        data
    })
